package com.webproject.core;

import java.util.List;

import com.webproject.entity.Filters;

/**
 * 分页
 * @author lijiang
 *
 */
public class Page {

	private String page;//当前页
	private int startRecords;//查询的超始位置
	private int row;//需要查询的条数
	private int records;//总记录数
	private List<?> rows;//结果
	private int total;//总页数
	private String sidx;//排序字段
	private String sord;//排序方式
	private String groupOp;//组查询方式and ,or 
	private Filters filters;//查询条件对象
	private Object condition;//其它条件
	public Object getCondition() {
		return condition;
	}
	public void setCondition(Object condition) {
		this.condition = condition;
	}
	public int getRow() {
		return row;
	}
	public void setRow(int row) {
		this.row = row;
	}
	public int getRecords() {
		return records;
	}
	public void setRecords(int records) {
		this.records = records;
	}
	public String getGroupOp() {
		return groupOp;
	}
	public void setGroupOp(String groupOp) {
		this.groupOp = groupOp;
	}
	public Filters getFilters() {
		return filters;
	}
	public void setFilters(Filters filters) {
		this.filters = filters;
	}
	public String getPage() {
		return page;
	}
	public void setPage(String page) {
		this.page = page;
	}
	public int getStartRecords() {
		return startRecords;
	}
	public void setStartRecords(int startRecords) {
		this.startRecords = startRecords;
	}
	public List<?> getRows() {
		return rows;
	}
	public void setRows(List<?> rows) {
		this.rows = rows;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public String getSidx() {
		return sidx;
	}
	public void setSidx(String sidx) {
		this.sidx = sidx;
	}
	public String getSord() {
		return sord;
	}
	public void setSord(String sord) {
		this.sord = sord;
	}
	
}
